package main.flex.value.calendar
{
	public class CalendarContentEventVO extends CalendarBaseEventVO
	{
		public function CalendarContentEventVO(	
												pId 			: int 		= -1,
												pComment		: String 	= null,
												pStartDate		: Date 		= null,
												pEndDate		: Date		= null,
												pIsAppointment	: Boolean 	= false
												)
		{
			super();
			
			if ( pId != -1 )
				super.id 		= pId;
			
			if ( pComment )
				super.comment 	= pComment;
				
			if ( pStartDate )
				super.startDate = pStartDate;
				
			if ( pEndDate )
				super.endDate 	= pEndDate;
				
			if ( pIsAppointment )
				super.isAppointment = pIsAppointment;
			
			super.type = "content";
		}
		
	}
}